package com.yeshine.opendata.entity;

import com.yeshine.opendata.core.EntityBase;

import java.util.Date;

/**
 * Created by taohj on 2014/9/4.
 */
public class Member extends EntityBase {

    private Integer id;

    private User user;

    private Role role;

    private  Org org;

    private Date inTime;


    public Member() {
    }

    public Member(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Org getOrg() {
        return org;
    }

    public void setOrg(Org org) {
        this.org = org;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
